﻿using MesGLApp.DAL.RoleDB;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MesGLApp.DAL.RoleDTO
{
    [NotMapped]
    public class BaseDeptDTO : BaseDeptModel
    {
        /// <summary>
        /// 父部门
        /// </summary>
        [NotMapped]
        public BaseDeptModel ParendDept = new BaseDeptModel();

        /// <summary>
        /// 子部门
        /// </summary>
        [NotMapped]
        public List<BaseDeptDTO> ChildDept = new List<BaseDeptDTO>();
    }
}
